//show.js   
//获取应用实例    
var data = {
  hiddenmodalinput: true,
  hiddenmodalnotice: true,
  hiddenmodalseat: true
  //可以通过hidden是否掩藏弹出框的属性，来指定那个弹出框  
};
//点击按钮弹出指定的hiddenmodalput弹出框  
function modalinput() {
  debugger;
  this.setData({
    hiddenmodalinput: !this.data.hiddenmodalinput
  })
};
function modalnotice() {
  this.setData({
    hiddenmodalnotice: !this.data.hiddenmodalnotice
  })
};
function modalseat() {
  this.setData({
    hiddenmodalseat: !this.data.hiddenmodalnotice
  })
};
//取消按钮  
function cancel() {
  this.setData({
    hiddenmodalinput: true
  });
  this.setData({
    hiddenmodalnotice: true
  });
  this.setData({
    hiddenmodalseat: true
  });
};
//确认  
function confirm() {
  this.setData({
    hiddenmodalinput: true
  });
  this.setData({
    hiddenmodalnotice: true
  });
  this.setData({
    hiddenmodalseat: true
  });
};
module.exports = {
  modalinput: modalinput,
  modalnotice: modalnotice,
  modalseat: modalseat,
  cancel: cancel,
  confirm: confirm
}